package com.woniuxy02;

/**
 * @author 作者
 * @create 2025-07-17 15:35
 */
public class Test09 {
    public static void main(String[] args) {
//        char[] chars={'a','b','c','d','e','f'};
//
//        for(int i=0;i<chars.length;i++){
//            System.out.println(chars[i]);
//        }
//
//        for(char  mychar : chars){
//            System.out.println(mychar);
//        }

        String str1="aaa";
        String[] names={"zs","ls","ww","zl"};

        for(int i=0;i<names.length;i++){
            System.out.println(names[i]);
        }

        for(String name : names){
            System.out.println(name);
        }
    }
}
